<div class="products view">
<h2><?php echo __('Product'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($product['Product']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Warehouse'); ?></dt>
		<dd>
			<?php echo $this->Html->link($product['Warehouse']['id'], array('controller' => 'warehouses', 'action' => 'view', $product['Warehouse']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Purchase Detail'); ?></dt>
		<dd>
			<?php echo $this->Html->link($product['PurchaseDetail']['id'], array('controller' => 'purchase_details', 'action' => 'view', $product['PurchaseDetail']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Sales Detail'); ?></dt>
		<dd>
			<?php echo $this->Html->link($product['SalesDetail']['id'], array('controller' => 'sales_details', 'action' => 'view', $product['SalesDetail']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Modell'); ?></dt>
		<dd>
			<?php echo $this->Html->link($product['Modell']['id'], array('controller' => 'modells', 'action' => 'view', $product['Modell']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Serial Number'); ?></dt>
		<dd>
			<?php echo h($product['Product']['serial_number']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Product'), array('action' => 'edit', $product['Product']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Product'), array('action' => 'delete', $product['Product']['id']), array(), __('Are you sure you want to delete # %s?', $product['Product']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Products'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Product'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Warehouses'), array('controller' => 'warehouses', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Warehouse'), array('controller' => 'warehouses', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Purchase Details'), array('controller' => 'purchase_details', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Purchase Detail'), array('controller' => 'purchase_details', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Sales Details'), array('controller' => 'sales_details', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Sales Detail'), array('controller' => 'sales_details', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Modells'), array('controller' => 'modells', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Modell'), array('controller' => 'modells', 'action' => 'add')); ?> </li>
	</ul>
</div>
